package com.gourd.index.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * 启动类执行之前执行一些方法
 * @author gourd
 */
@Configuration
@Slf4j
public class PostDealConfig implements BeanPostProcessor {

    @PostConstruct
    public void  postDeal(){

        log.info("^o^= 启动类执行之前执行一些方法开始==============");

    }

}
